package com.dh.entity;

import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * 党员奖惩记录对象
 */
@Entity
@Table(name = "user_rp")
public class UserRP extends AbstractEntity {

    // 姓名、性别、民族、所在单位、职务 这些信息都包含在党员信息中,通过userId关联即可
    // 记录编号、奖惩性质
    // 奖惩时间、主要内容、报批单位、报批日期、报批意见、
    // 审批部门、审批日期、审批意见、备注
    private String no;
    private long userId;//党员id
    private long approvalId;//审批人

    private String happenTime;//奖惩时间
    private String nature;//性质
    private String mainContent;//主要内容
    private String applyUnit;//报批or申请 单位
    private String applyTime;//报批or申请 日期
    private String applyContent;//报批内容
    private String approvalDept;//审批部门
    private String approvalTime;//审批时间
    private String approvalOpinion;//审批意见
    private String note;//备注
    private int status;//状态 0:登记中  1:审批完成

    public String getApplyContent() {
        return applyContent;
    }

    public void setApplyContent(String applyContent) {
        this.applyContent = applyContent;
    }

    public String getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(String applyTime) {
        this.applyTime = applyTime;
    }

    public String getApplyUnit() {
        return applyUnit;
    }

    public void setApplyUnit(String applyUnit) {
        this.applyUnit = applyUnit;
    }

    public String getApprovalDept() {
        return approvalDept;
    }

    public void setApprovalDept(String approvalDept) {
        this.approvalDept = approvalDept;
    }

    public long getApprovalId() {
        return approvalId;
    }

    public void setApprovalId(long approvalId) {
        this.approvalId = approvalId;
    }

    public String getApprovalOpinion() {
        return approvalOpinion;
    }

    public void setApprovalOpinion(String approvalOpinion) {
        this.approvalOpinion = approvalOpinion;
    }

    public String getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(String approvalTime) {
        this.approvalTime = approvalTime;
    }

    public String getHappenTime() {
        return happenTime;
    }

    public void setHappenTime(String happenTime) {
        this.happenTime = happenTime;
    }

    public String getMainContent() {
        return mainContent;
    }

    public void setMainContent(String mainContent) {
        this.mainContent = mainContent;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getNature() {
        return nature;
    }

    public void setNature(String nature) {
        this.nature = nature;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
